Power wall - we don't care about formulas or anything, just care about ideas

Overclock - raise frequency above recommended level, can be dangerous

Can lower the amount of heat generated in the CPU by reducing the amount of electricity through the CPU:

But we can't use too little electricity. If the voltage drops too low, we won't be able to distinguish between on and off states in transistors. Transistor leakage will mean that "off" transistors could be seen as "on".

Transistor leakage - phenomena of electricity leaking through the transistor in the "off" state

Assembly language programming

Assembly language -

Assembly language, at a high level:

CPU architecture - set of rules/specifications to create a CPU of a certain type

Instruction Set Architecture (ISA):

Examples:

MIPS architecture

MIPS emulators for use in this class -

Should not use online emulators.

Pseudo-instructions are not permitted in this class. They do not represent actual CPU instructions.

MIPS assembly

Example 1: add

add $s0, $s1, $s7 # s0 = s1 + s7

MIPS tips:

To start we will use registers $s0..$s7 and $t0..$t7 (16 total registers)

Example 2: add

add $t6, $s1, $s0 # $t6 = $s1 + $s0

Example 3: addi

addi $t6, $s1, 4 # t6 = s1 + 4

Example 4: addi

addi $t6, $zero, -125 # t6 = -125

Example 5: sub

sub $t6, $s1, $s0 # t6 = s1 - s0